import { ReqPage } from './index.d';

interface Sort {
  asc?: boolean;
  field?: boolean;
}
export interface EntitySearch extends ReqPage {
  emirate?: string;
  name?: string;
  nameAr?: string;
  reference?: string;
  shareholdingPercentage?: string;
  sort?: Sort;
  active?: boolean;
  q?: string;
}

export interface EntityCreate {
  id?: string | number;
  emirate: string | any;
  name: string;
  nameAr: string;
  reference: string | any;
  shareholdingPercentage: string;
  active?: boolean;
  attachments: any[];
  chairman?: string;
}

export interface RepActive {
  id: string | number;
  active?: boolean;
}
